package com.fzfnn.scrapbook.vo;

import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class CommentVO {
    private Long commentId;
    private Long journalId;
    private Long userId;
    private String content;
    private LocalDateTime createdAt;
    private Long parentId = null;
    private Integer status;
    private String commentName;
    private String commentAvatar;

    // 子评论列表（不对应数据库字段）
    private List<CommentVO> replies;
}
